// let user =
//     {
//         age: 18,
//         name: '李四'
//     }
//
//
// console.log(user)
// console.log(user.age)
// console.log(user['name'])

let age = 18, name = '李四'
let user = {age,name}
console.log(user)
console.log(user.age)
console.log(user['age'])
console.log(user["age"])
